package au.com.iglootech.TaxTimeToolTip.ui.payment;

import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.Panel;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;

public class PaymentPage extends CustomComponent {
	VerticalLayout mainLayout = new VerticalLayout();

	public PaymentPage() {

		initContent();
	}

	private void initContent() {
		Panel panel = new Panel();
		TabSheet ts = new TabSheet();
		ts.setSizeFull();
		ts.addStyleName("bar");
		ts.addComponent(new PayInvoiceTab());
		panel.addComponent(ts);
		mainLayout.addComponent(panel);
		this.setCompositionRoot(mainLayout);
	}
}
